<!--热销商品-->
<?php if(!empty($output['code_recommend_list']['code_info'])){ ?>
<div class="hotSellingGoods_box">
<?php foreach($output['code_recommend_list']['code_info'] as $val){ ?>
    <div class="hotSellingGoods_cen">
        <?php if(!empty($val['recommend']['name'])){ ?>
        <div class="top">
            <!--主题-->
            <div class="theme">
                <?php echo $val['recommend']['name'];?>
            </div>
        </div>
        <?php } ?>
        <!--产品无缝轮播-->
        <?php if(!empty($val['goods_list'])){ ?>

        <div class="infiniteRelay">
            <!--移动块-->
            <div class="infin_box">
                <ul>
                    <?php foreach($val['goods_list'] as $v){ ?>
                    <li>
                        <div class="cp_img">
                            <img src="<?php echo UPLOAD_SITE_URL.'/'.$v['goods_pic'];?>" alt="<?php echo $v['goods_name']; ?>">
                        </div>
                        <div class="title">
                            <?php echo $v['goods_name']; ?>
                        </div>
                        <div class="price">
                            <?php $goods_price = explode('.',$v['goods_price']);?>
                            ￥<span><?php echo $goods_price[0]; ?></span>.<?php echo $goods_price[1]; ?>
                            <i>
                                <a href="javascript:void(0);" nctype="add_cart" data-gid="<?php echo $v['goods_id'];?>">
                                    <img src="<?php echo SHOP_TEMPLATES_URL;?>/images/newimages/ui_img2.png" alt="">
                                </a>
                            </i>
                        </div>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div>
        <?php } ?>
        <!--左-->
        <div class="letbtn">
            <img src="<?php echo SHOP_TEMPLATES_URL;?>/images/newimages/letbtn.png" alt="">
        </div>
        <!--右-->
        <div class="rigbtn">
            <img src="<?php echo SHOP_TEMPLATES_URL;?>/images/newimages/rigbtn.png" alt="">
        </div>
        <!--产品无缝轮播END-->
    </div>
<?php }?>
</div>
<?php }?>